﻿package mortal.game.scene3D.events
{
    import flash.events.*;

    public class PlayerEvent extends Event
    {
        public var data:Object;
        public static const Disposed:String = "Disposed";
        public static const WALK_START:String = "walk_Start";
        public static const WALK_END:String = "walk_end";
        public static const WALK_BREAK:String = "walk_break";
        public static const ON_WALK:String = "on_walk";
        public static const GIRD_WALK_START:String = "gird_walk_start";
        public static const GIRD_WALK_END:String = "gird_walk_end";
        public static const PLAYER_FIRE:String = "player_fire";
        public static const PLAYER_FIRE_COMPLETE:String = "player_fire_complete";
        public static const PLAYER_LEADING:String = "PLAYER_LEADING";
        public static const PLAYER_LEADING_END:String = "PLAYER_LEADING_END";
        public static const PLAYER_ACTION_CHANGE:String = "PLAYER_ACTION_CHANGE";
        public static const ENTITY_DEAD:String = "entityDead";
        public static const ENTITY_SPECIALBONECOMPLETE:String = "ENTITY_SPECIALBONECOMPLETE";
        public static const ENTITY_Relived:String = "entityRelived";
        public static const ATTACK_GAP_TIMEOUT:String = "attactGapTimeOut";
        public static const ObstructNotFight:String = "地形阻挡不可以攻击";
        public static const SELECTED:String = "selected";
        public static const UPDATEINFO:String = "updateinfo";
        public static const RoleLevelUpdate:String = "人物等级更新";
        public static const DoubleRest:String = "doubleRest";
        public static const ServerPoint:String = "服务器坐标点";
        public static const RoleTurned:String = "角色变身";
        public static const Enter_Fight:String = "进入战斗";
        public static const Exit_Fight:String = "结束战斗";
        public static const UpdateEquip:String = "UpdateEquip";
        public static const FlyChange:String = "FlyChange";
        public static const SunBathChange:String = "结束阳光沐浴";
        public static const MarrySkillTurnChange:String = "仙侣技能幻化";
        public static const StopRest:String = "停止打坐";
        public static const PlayerManaUpdate:String = "魔法值更新";
        public static const JumpPointStart:String = "JumpPointStart";
        public static const JumpPointEnd:String = "JumpPointEnd";
        public static const SkillPointEnd:String = "SkillPointEnd";

        public function PlayerEvent(param1:String, param2:Object = null)
        {
            this.data = param2;
            super(param1, true, true);
            return;
        }// end function

    }
}
